/*
 * @Description: 成本管理报表接口
 * @Author: wind-lc
 * @version: 1.0
 * @Date: 2024-04-01 09:52:44
 * @LastEditTime: 2024-04-01 15:55:01
 * @FilePath: \cscec-pms-admin\src\api\businessAffairs\costManagementReport.js
 */
import request from '@/utils/request'
import { faceApiUrl } from "../config"
/**
 * @description: 获取成本管理列表
 * @param {object} data
 * @return {promise}
 */
const list = (data) => {
  return request({
    url: `${faceApiUrl}/costManageStatement/list`,
    method: 'post',
    data
  })
}
/**
 * @description: 获取成本管理导出
 * @param {object} data
 * @return {promise}
 */
const listExport = (data) => {
  return request({
    url: `${faceApiUrl}/costManageStatement/export`,
    method: 'post',
    responseType: 'blob',
    data
  })
}

export{
  list,
  listExport
}